package com.dragoncombin.homework.Module04.Problem04;

import java.io.Serializable;

public class UserMessage implements Serializable {

    private static final long serialVersionUID = -5903948268992072622L;
    private String type;
    private User user;

    public UserMessage(String type, User user) {
        setType(type);
        setUser(user);
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
